os.Process.state (field)
11 uses
os (current package)
exec.go#L88: state atomic.Uint64
exec.go#L120: p.state.Store(1) // 1 persistent reference
exec.go#L132: p.state.Store(uint64(statusDone)) // No persistent reference, as there is no handle.
exec.go#L143: refs := p.state.Load()
exec.go#L148: if !p.state.CompareAndSwap(refs, new) {
exec.go#L161: state := p.state.Load()
exec.go#L179: if !p.state.CompareAndSwap(state, new) {
exec.go#L200: refs := p.state.Load()
exec.go#L216: if !p.state.CompareAndSwap(refs, new) {
exec.go#L231: return processStatus(p.state.Load())
exec.go#L247: p.state.CompareAndSwap(0, uint64(reason))
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |